#!/bin/bash

# Usage:
#  $0 <store-directory> <object>

store_dir=$1
object=$2

SHA1=`sha1sum $object | awk '{ print $1 }'`
echo $SHA1

cp $object $store_dir/$SHA1
